package com.panda.web.mapper.commons;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.web.entity.commons.WebReport;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WebReportMapper extends BaseMapper<WebReport> {
    @Select("select  * from web_report where open_id=#{openId}")
    WebReport findByOpenId(String openId);
    @Delete("delete from web_report where open_id=#{openId} ")
    void deleteByOpenId(String openId);
}
